package com.sctvcloud.qingchuan.beans;

import android.support.annotation.NonNull;

import com.ruihang.generalibrary.ui.util.IListData;
import com.ruihang.generalibrary.utils.IDataDate;
import com.sctvcloud.qingchuan.ui.util.IListShowData;

import java.sql.Date;
import java.util.List;

/**
 * 问政列表数据
 */
public class PoliticsItem implements IListShowData, IDataDate {

    private int id;
    private String title;//标题
    private String content;//内容
    private int imageCount;
    private String createTime;
    private String pushTime;//发布时间
    private int status;//发布状态 0,”待发布”,1,”已发布”,2,”已下线”;
    private int operationStatus;//处理状态 1,”待受理”,,3,”处理中”,4,”已回复”,7,”已驳回”,8,”已转发到相关部门”
    private long userId;
    private String avatar;
    private String address;//地址
    private long hitCount;//阅读数
    private int score;
    private int type;//": 1,

    private List<PoliticsInfoImage> interactioninfoImageList;
    private List<PoliticsInfoVideo> interactioninfoVideoList;
//    private List<PoliticsInfoImage> interactioninfoAudioList;

    private List<PoliticsProcessBean> interactionprocessList;
    private List<PoliticsReplyDotBean> interactionReplyDtoList;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getImageCount() {
        return imageCount;
    }

    public void setImageCount(int imageCount) {
        this.imageCount = imageCount;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPushTime() {
        return pushTime;
    }

    public void setPushTime(String pushTime) {
        this.pushTime = pushTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getOperationStatus() {
        return operationStatus;
    }

    public void setOperationStatus(int operationStatus) {
        this.operationStatus = operationStatus;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public long getHitCount() {
        return hitCount;
    }

    public void setHitCount(long hitCount) {
        this.hitCount = hitCount;
    }

    public List<PoliticsInfoImage> getInteractioninfoImageList() {
        return interactioninfoImageList;
    }

    public void setInteractioninfoImageList(List<PoliticsInfoImage> interactioninfoImageList) {
        this.interactioninfoImageList = interactioninfoImageList;
    }

    public List<PoliticsInfoVideo> getInteractioninfoVideoList() {
        return interactioninfoVideoList;
    }

    public void setInteractioninfoVideoList(List<PoliticsInfoVideo> interactioninfoVideoList) {
        this.interactioninfoVideoList = interactioninfoVideoList;
    }

//    public List<PoliticsInfoImage> getInteractioninfoAudioList() {
//        return interactioninfoAudioList;
//    }
//
//    public void setInteractioninfoAudioList(List<PoliticsInfoImage> interactioninfoAudioList) {
//        this.interactioninfoAudioList = interactioninfoAudioList;
//    }

    public List<PoliticsReplyDotBean> getInteractionReplyDtoList() {
        return interactionReplyDtoList;
    }

    public void setInteractionReplyDtoList(List<PoliticsReplyDotBean> interactionReplyDtoList) {
        this.interactionReplyDtoList = interactionReplyDtoList;
    }

    public List<PoliticsProcessBean> getInteractionprocessList() {
        return interactionprocessList;
    }

    public void setInteractionprocessList(List<PoliticsProcessBean> interactionprocessList) {
        this.interactionprocessList = interactionprocessList;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    @Override
    public Date getDataDate() {
        return null;
    }

    @Override
    public void setDataDate(Date date) {

    }

    @NonNull
    @Override
    public String getDatePattern() {
        return "yyyy-MM-dd HH:mm";
    }

    @Override
    public String getDateString() {
        return pushTime;
    }

    @Override
    public String getTime() {
        return pushTime;
    }

    @Override
    public IListShowData getOwenerData() {
        return null;
    }

    @Override
    public String getDataTitle() {
        return title;
    }

    @Override
    public String getDataImg() {
        return null;
    }

    @Override
    public String getDataTag() {
        return null;
    }

    @Override
    public String getDataId() {
        return null;
    }

    @Override
    public int getDataType() {
        return 0;
    }

    @Override
    public int getDataViewType() {
        return 0;
    }

    @Override
    public IListData getOwner() {
        return null;
    }
}
